<?php
list($courses, $details, $emptyScheduleCourses) = $this->requestAction(array('controller' => 'course', 'action' => 'getNewCourse'));
$categoryConfig = Configure::read('category');
?>
<!-- .section -->
<div class="section">
	<h2 class="title">今月のPickUp</h2>
	<ul class="list course clearfix">
		<?php foreach ($courses as $course):?>
			<?php echo $this->element('course/item', array('course' => $course, 'categoryConfig' => $categoryConfig, 'details' => $details, 'emptyScheduleCourses' => $emptyScheduleCourses));?>
		<?php endforeach;?>
	</ul>
	<?php echo $this->Html->link($this->Html->image('class_list_off.gif', array('border' => '0', 'alt' => '')), array('controller' => 'course', 'action' => 'index'), array('escape' => false, 'class' => 'readMore'));?>
</div>
<!-- /.section -->